package com.triones.yjj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 员工访问活动权限
 *
 * @Author: triones
 */
@TableName(value = "tr_share_record")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ShareRecordDO extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 分享员工id
     */
    private Long shareStaffId;
    /**
     * 员工微信id
     */
    private Long staffWxUserId;
    /**
     * 分享主表id
     */
    private Long shareId;
    /**
     * 被分享的客户id
     */
    private Long passiveMemberId;
    /**
     * 被分享的客户微信id
     */
    private Long passiveMemberWxUserId;
    /**
     * 上一条记录id
     */
    private Long previousShareRecordId;
    /**
     * 系统用户id
     */
    private Long userId;
}
